[INFO] fetching crate process-memory-reader 0.1.1...
[INFO] building process-memory-reader-0.1.1 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate process-memory-reader 0.1.1 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate process-memory-reader 0.1.1 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3/source/.cargo/config
[INFO] started tweaking crates.io crate process-memory-reader 0.1.1
[INFO] finished tweaking crates.io crate process-memory-reader 0.1.1
[INFO] tweaked toml for crates.io crate process-memory-reader 0.1.1 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 00941b4816ca940022f9565d762f37c06517c43382332e0e17a5515c98c6545e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "00941b4816ca940022f9565d762f37c06517c43382332e0e17a5515c98c6545e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "00941b4816ca940022f9565d762f37c06517c43382332e0e17a5515c98c6545e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00941b4816ca940022f9565d762f37c06517c43382332e0e17a5515c98c6545e", kill_on_drop: false }`
[INFO] [stdout] 00941b4816ca940022f9565d762f37c06517c43382332e0e17a5515c98c6545e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee64ed33d91595dba2a4455e9499b3c73458cc318f880e1c15bdda391781fbbc
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ee64ed33d91595dba2a4455e9499b3c73458cc318f880e1c15bdda391781fbbc", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling process-memory-reader v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/lib.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/lib.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::shared::minwindef::{DWORD, HMODULE, MAX_PATH, TRUE};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::memoryapi::ReadProcessMemory;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::um::processthreadsapi::OpenProcess;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 | use winapi::um::psapi::{EnumProcessModules, GetModuleBaseNameA};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use winapi::um::tlhelp32::PROCESSENTRY32W;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use winapi::um::tlhelp32::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | use winapi::um::winnt::{PROCESS_QUERY_INFORMATION, PROCESS_VM_READ};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]   --> src/lib.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::ctypes::c_void;
[INFO] [stdout]    |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]   --> src/lib.rs:56:31
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let handle = unsafe { OpenProcess(PROCESS_VM_READ | PROCESS_QUERY_INFORMATION, 0, pid) };
[INFO] [stdout]    |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope
[INFO] [stdout]   --> src/lib.rs:56:43
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let handle = unsafe { OpenProcess(PROCESS_VM_READ | PROCESS_QUERY_INFORMATION, 0, pid) };
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope
[INFO] [stdout]   --> src/lib.rs:56:61
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let handle = unsafe { OpenProcess(PROCESS_VM_READ | PROCESS_QUERY_INFORMATION, 0, pid) };
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]   --> src/lib.rs:67:31
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let handle = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) };
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope
[INFO] [stdout]   --> src/lib.rs:67:56
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let handle = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) };
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]   --> src/lib.rs:74:45
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl Process {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<PROCESSENTRY32W>`
[INFO] [stdout] ...
[INFO] [stdout] 74 |         let mut maybe_entry = MaybeUninit::<PROCESSENTRY32W>::uninit();
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]   --> src/lib.rs:79:27
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl Process {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<PROCESSENTRY32W>`
[INFO] [stdout] ...
[INFO] [stdout] 79 |                 size_of::<PROCESSENTRY32W>() as u32,
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope
[INFO] [stdout]   --> src/lib.rs:83:21
[INFO] [stdout]    |
[INFO] [stdout] 83 |         if unsafe { Process32FirstW(handle, maybe_entry.as_mut_ptr()) } == TRUE {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/lib.rs:83:76
[INFO] [stdout]    |
[INFO] [stdout] 83 |         if unsafe { Process32FirstW(handle, maybe_entry.as_mut_ptr()) } == TRUE {
[INFO] [stdout]    |                                                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope
[INFO] [stdout]   --> src/lib.rs:84:28
[INFO] [stdout]    |
[INFO] [stdout] 84 |             while unsafe { Process32NextW(handle, maybe_entry.as_mut_ptr()) } == TRUE {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/lib.rs:84:82
[INFO] [stdout]    |
[INFO] [stdout] 84 |             while unsafe { Process32NextW(handle, maybe_entry.as_mut_ptr()) } == TRUE {
[INFO] [stdout]    |                                                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/lib.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |             CloseHandle(handle);
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]    --> src/lib.rs:108:44
[INFO] [stdout]     |
[INFO] [stdout] 51  | impl Process {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stdout] ...
[INFO] [stdout] 108 |         let mut maybe_hmod = MaybeUninit::<HMODULE>::uninit();
[INFO] [stdout]     |                                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:109:49
[INFO] [stdout]     |
[INFO] [stdout] 51  | impl Process {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stdout] ...
[INFO] [stdout] 109 |         let mut maybe_cb_needed = MaybeUninit::<DWORD>::uninit();
[INFO] [stdout]     |                                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope
[INFO] [stdout]    --> src/lib.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |             EnumProcessModules(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/lib.rs:120:22
[INFO] [stdout]     |
[INFO] [stdout] 120 |         if result != TRUE {
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]    --> src/lib.rs:124:61
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut base_name_vec: Vec<u8> = Vec::with_capacity(MAX_PATH);
[INFO] [stdout]     |                                                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameA` in this scope
[INFO] [stdout]    --> src/lib.rs:127:36
[INFO] [stdout]     |
[INFO] [stdout] 127 |             let base_name_length = GetModuleBaseNameA(
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope
[INFO] [stdout]    --> src/lib.rs:151:13
[INFO] [stdout]     |
[INFO] [stdout] 151 |             ReadProcessMemory(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/lib.rs:160:22
[INFO] [stdout]     |
[INFO] [stdout] 160 |         if result != TRUE {
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/lib.rs:218:13
[INFO] [stdout]     |
[INFO] [stdout] 218 |             CloseHandle(self.handle);
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/lib.rs:89:47
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 let process_name = &OsString::from_wide(&process_name_full[..process_name_length]);
[INFO] [stdout]    |                                               ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 32 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `process-memory-reader`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "ee64ed33d91595dba2a4455e9499b3c73458cc318f880e1c15bdda391781fbbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee64ed33d91595dba2a4455e9499b3c73458cc318f880e1c15bdda391781fbbc", kill_on_drop: false }`
[INFO] [stdout] ee64ed33d91595dba2a4455e9499b3c73458cc318f880e1c15bdda391781fbbc
